package com.stylefeng.guns.rest.modular.auth.controller;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 请求验证的
 *
 * @author shaohaiting
 * @Date 2018/6/27 10:52
 */
@RestController
public class JweController {
    @RequestMapping(value = "jwe")
    public Object jwe(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        String url = req.getHeader("url");
        return "test";
    }
}
